package com.duixiang.lei.yisheng;
/*
医生  姓名  年龄  性别  主治什么
 */
public class Doctor {
     private String name;
     private int age;
     private String gender;
     private String attending;

    public Doctor() {
    }

    public Doctor(String name, int age, String gender, String attending) {
        this.name = name;
        this.age = age;
        this.gender = gender;
        this.attending = attending;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getAttending() {
        return attending;
    }

    public void setAttending(String attending) {
        this.attending = attending;
    }

    @Override
    public String toString() {
        return "Doctor{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", gender='" + gender + '\'' +
                ", attending='" + attending + '\'' +
                '}';
    }
}
